package com.atstudy.dao;

import com.atstudy.entites.Account;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

import java.util.*;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/2/10 16:13
 * @copyright: 博为峰
 */
@Repository("accountDao")
public class AccountDaoImpl implements AccountDao {

    @Value("${mysql.url}")
    public String url;//jdbc:mysql://localhost:3306/29db

    @Override
    public List<Account> selectAccountList() {
        System.out.println("AccountDaoImpl");
        System.out.println(url);
        return new ArrayList<Account>();
    }
}
